#! /bin/bash

cd /home/fast/code/cluster/fast_5g_controller_backend
rm main

/usr/local/go/bin/go build main.go

cd /home/fast/cluster_backend
rm main

cp /home/fast/code/cluster/fast_5g_controller_backend/main ./

systemctl restart cluster_backend.service
echo "集群更新完成"
